import request from '@/utils/request'
// 分页查询应用管理列表
export function categoryQueryList(query) {
    return request({
      url: '/ykm1-manage/manage/category/queryList',
      method: 'get',
      params: query
    })
  }

// 查询所有分类列表
export function categoryAll(query) {
    return request({
      url: '/ykm1-manage/manage/category/queryListAll',
      method: 'get',
      params: query
    })
  }

// 新增分类
export function addCategory(query) {
    return request({
      url: '/ykm1-manage/manage/category/add',
      method: 'post',
      data: query
    })
  }

// 修改分类
export function updateCategory(query) {
    return request({
      url: '/ykm1-manage/manage/category/updateInfo',
      method: 'post',
      data: query
    })
  }

// 删除分类
export function deleteCategory(query) {
    return request({
      url: '/ykm1-manage/manage/category/delete',
      method: 'delete',
      params: query
    })
  }

// 查询分类信息
export function categoryInfo(query) {
    return request({
      url: '/ykm1-manage/manage/category/queryInfo',
      method: 'post',
      data: query
    })
  }